package com.victor.service;

import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.victor.entity.TicketOrders;

public interface TicketOrderService {
	/**
	 * 查询全部订单  和根据订单状态 查找
	 * @param page
	 * @param row
	 * @return
	 */
	PageInfo<TicketOrders> selAll(int page, int row,Map<Object, Object> map);
	/**
	 * 搜索
	 * @param number
	 * @return
	 */
	PageInfo<TicketOrders> selOrderByNumber(String number,int page,int row);
	/**
	 * 订单详情
	 * @param id
	 * @return
	 */
	TicketOrders selByOrderId(Integer id);
	/**
	 * 删除订单
	 * @param ids
	 * @return
	 */
	boolean deleteOrder(int[] ids);
	/**
	 * 修改订单
	 * @param ticketOrders
	 * @return
	 */
	boolean updateOrder(TicketOrders ticketOrders);
	/**
	 * 搜索时间
	 * @param start
	 * @param end
	 * @param page
	 * @param row
	 * @return
	 */
	PageInfo<TicketOrders> selByTime(String start, String end, int page, int row);

}
